package e

const (
	SUCCESS        = 200
	ERROR          = 500
	INVALID_PARAMS = 400

	ERROR_TOKEN_GENERATE = 40000
	ERROR_TOKEN_TIMEOUT  = 40001
	ERROR_TOKEN_FAIL     = 40002
	ERROR_TOKEN          = 40003

	ERROR_USER_EXIST     = 41000
	ERROR_USER_NOT_EXIST = 41001
	ERROR_USER_GET       = 41002
	ERROR_USER_PASSWORD  = 41003

	ERROR_DEVICE_CHECK_EXIST = 42000
	ERROR_DEVICE_EXIST       = 42001
	ERROR_DEVICE_NOT_EXIST   = 42002
	ERROR_DEVICE_GET_ALL     = 42003
	ERROR_DEVICE_ADD         = 42004
	ERROR_DEVICE_EDIT        = 42005
	ERROR_DEVICE_DELETE      = 42006

	ERROR_UPLOAD_SIZE  = 43000
	ERROR_UPLOAD_EXTS  = 43001
	ERROR_UPLOAD_CHECK = 43002
	ERROR_UPLOAD_SAVE  = 43003

	ERROR_EMQX_GET_CLIENTS = 44000
)
